package com.insigma.business.qrcode.merchant.service.impl;

import com.insigma.business.qrcode.merchant.dao.CareWelfareMerchantDiscountDao;
import com.insigma.business.qrcode.merchant.entity.CareWelfareMerchantDiscountDO;
import com.insigma.business.qrcode.merchant.service.CareWelfareMerchantDiscountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("careWelfareMerchantDiscountService")
public class CareWelfareMerchantDiscountServiceImpl implements CareWelfareMerchantDiscountService {
    @Autowired(required = false)
    private CareWelfareMerchantDiscountDao careWelfareMerchantDiscountDao;
    @Override
    public List<CareWelfareMerchantDiscountDO> listByMerchantId(String merchantId) {

        return careWelfareMerchantDiscountDao.listByMerchantId(merchantId);
    }
}
